#!/usr/bin/python3
import subprocess
f_passwd = subprocess.getoutput("cat /etc/passwd")
f_lines = f_passwd.splitlines()
for i in f_lines:
    if 500 < int(i.split(":")[2]) < 2000:
        print ("%-18s uid is %s."%(i.split(":")[0],i.split(":")[2]))
